package cn.yzc.mapper;

import cn.yzc.pojo.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>Project: SpringPro - RoleMapper</p>
 * <p>Powered by yzc On 2023-10-18 20:35:57</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */

@Mapper
public interface RoleMapper {
    @Select("select id,roleName from role")
    List<Role> queryRole();
}
